layui.use(['jquery', 'form'], function () {
    var $ = layui.jquery,
        form = layui.form;

    $(function () {
        alert("hello");
    });
});